/*
 * @Author: your name
 * @Date: 2021-01-13 17:37:21
 * @LastEditTime: 2021-12-16 23:10:48
 * @LastEditors: 晟松
 * @Description: In User Settings Edit
 * @FilePath: \vue3-admin\src\router\globalRoutes.js
 */
export default [
    {
        path: "/login",
        name: "Login",
        component: () => import("@/views/Login.vue"),
    },
    {
        path: "/404",
        name: "404",
        component: () => import("@/views/404.vue"),
    },
    /* {
        path: "/",
        name: "main",
        component: () => import("@/views/AppMain.vue"),
        children: [
            {
                path: "school",
                name: "School",
                component: () => import("@/views/schoolPages/School.vue"),
                // redirect: { name: "AllStudent" },
                children: [
                    {
                        path: "AllStudent",
                        name: "AllStudent",
                        component: () =>
                            import("@/views/schoolPages/AllStudent.vue"),
                    },
                    {
                        path: "StudentReview",
                        name: "StudentReview",
                        component: () =>
                            import("@/views/schoolPages/StudentReview.vue"),
                    },
                    {
                        path: "CollegeReview",
                        name: "CollegeReview",
                        meta: {
                            allow: "schoolAdmin",
                        },
                        component: () =>
                            import("@/views/schoolPages/CollegeReview.vue"),
                    },
                    {
                        path: "AllCollege",
                        name: "AllCollege",
                        meta: {
                            allow: "schoolAdmin",
                        },
                        component: () =>
                            import("@/views/schoolPages/AllCollege.vue"),
                    },
                    {
                        path: "StudentVol",
                        name: "StudentVol",
                        component: () =>
                            import("@/views/schoolPages/StudentVol.vue"),
                    },
                    {
                        path: "MyGroupVol",
                        name: "MyGroupVol",
                        component: () =>
                            import(
                                "@/views/schoolPages/groupVol/MyGroupVol.vue"
                            ),
                    },
                    {
                        path: "PublicGroupVol",
                        name: "PublicGroupVol",
                        component: () =>
                            import(
                                "@/views/schoolPages/groupVol/PublicGroupVol.vue"
                            ),
                    },
                    {
                        path: "RequestGroupVol",
                        name: "RequestGroupVol",
                        component: () =>
                            import(
                                "@/views/schoolPages/groupVol/RequestGroupVol.vue"
                            ),
                    },
                ],
            },
        ],
    }, */
];
